// 店铺和社区
import http from '../utils/http.js';

/**
 * 店铺列表
*/
export const GetStoreList = (data)=> {
    return http.get('/auth/store/page', data);
}

/**
 * 用户绑定社区和店铺
*/
export const BindStore = (data)=> {
    return http.get('/auth/store/bind', data);
}

/**
 * 提交申请
*/
export const SubmitApplication = (data)=>{
    return http.put('/auth/store/apply',data);
}

/**
 * 发送验证码
 * POST
 * /auth/store/sendSMS
*/
export const storeSendSMS = (data)=>{
    return http.post('/auth/store/sendSMS',data)
}

/**
 * 获取滑块验证
 * GET
 * /auth/store/getSlider
*/
export const getStoreSlider = ()=>{
    return http.get('/auth/store/getSlider')
}